<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
	<script src="js/swiper.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="js/header.js" type="text/javascript" charset="utf-8"></script>
	<script src="js/首页.js" type="text/javascript" charset="utf-8"></script>
	<script src="js/angular.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="js/angular-route.js" type="text/javascript" charset="utf-8"></script>
	<script src="js/route.js" type="text/javascript" charset="utf-8"></script>
	<body ng-app="myApp">
	<div ng-controller="myctrl">
	  
		<div ng-include="'bestHeader.html'" ></div>
		<div ng-include="'header.html'" ></div>
				<ng-view></ng-view>
		<div ng-include="'foot.html'" ng-click="goto()"></div>
      
	</div>
	</body>
</html>
<script type="text/javascript">
	app.controller("myctrl",function($scope,$anchorScroll,$location){
		//点击之后回到顶部
		   $scope.goto = function () {
//                  $location.hash(id);
                    $anchorScroll();
               };
               $scope.arr=[{src:"img/dxg-img-6.png",h5:"新西兰佳配黄金奇异果",p:"6个装",span:"礼拜五价:",strong:"¥28.80"}]
	})
	//导航部分的改变
	$(".y_nav a").click(function(){
			$(this).addClass("y_nav_color").siblings().removeClass("y_nav_color");
		})
</script>